//package com.nuoniu.sibanyun.mapper.erp;
//
//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import com.nuoniu.sibanyun.entity.erp.ErpSettleAccounts;
//import org.apache.ibatis.annotations.Select;
//
///**
// * <p>
// * 期末结账 Mapper 接口
// * </p>
// *
// * @author 小啊刚
// * @since 2021-06-22
// */
//public interface ErpSettleAccountsMapper extends BaseMapper<ErpSettleAccounts> {
//
//    @Select("select * from pub_period_closed where company_id=#{companyId} and module_type=#{moduleType} and account_year=#{accountYear} and account_period=#{accountPeriod}")
//    ErpSettleAccounts getByOne(ErpSettleAccounts settleAccounts);
//
//    @Select("select count(1) from pub_period_closed where company_id=#{companyId} and module_type in (1,2,3) and account_year=#{year} and account_period=#{accountPeriod} and status=0")
//    Integer checkPSIAccount(Integer accountPeriod, Integer year, Integer companyId);
//}
